﻿<!DOCTYPE html>

<html>
<head>
	<?php include "../functions.php"; 
	inclHeader();	
	logout();
        requestHTTPS();
        redirectToAdmLogin(); //Tudi logout
	?>
	<link rel = "stylesheet"  type = "text/css" href = "../CSS.css" />
	<meta charset = "utf-8">
	<title>Podutik Records</title>	
	<style type="text/css"></style>
	<script src="../jquery.js"></script>
	<script src="../myQuery.js"></script>
	<script src="../prevod.js" ></script>
	<script type = "text/javascript"  src = "../poizvedba.js"></script>
        
</head>

<body>
	<div id="page-container">

		<div id="main-nav">
			<div class="block" id="bl1">
				<!--<input type="image" src="slof.jpg" name="slolang" class="flag" id="slof">-->
				<!--<input type="image" src="engf.jpg" name="englang" class="flag" id="engf">-->
			</div>
                    
                        <?php 			
				showMainNav();  //prikaže glavni menu
			?>			
		</div>
			
		<div id="sidebar-a">
			<div class="padding">
				<h3 id="adm">Administer</h3> 
				<ul class="tags">
                                    <li><a href="adminSite.php?type=pass" class="tag" id="passChn">Change Password</li>
                                    <li><a href="adminSite_seller.php?type=seller" class="tag" id="seller">Sellers</li>
                                    <li><a href="adminSite_cutomers.php?type=customer" class="tag" id="cust">Customers</li>
				</ul>			
			</div>
                    
                        
		</div>
            
		
		<div id="header">		
				<a href="../index.php"><img id="logo1" src="../podutikrecords1.jpg" 
				width="236" height="36" alt="Enlighten Designs" /></a>
		</div>
		<br/>
                <br/>
                <div id="menjavaPassAdm">   
                    <h3 style="color: green">Prijavljeni ste kot <?php echo getNamePowerUser($_SESSION['admin'])?></h3>
                    
                    <h2 id="pss" style="margin-left: 10px;">Change Password</h2>
                    
                    <div class="obrazecAdmin">
                       
                            <form name ="menjavaPassAdm1" id="chPassAdm" method="post" action="#">
                                <table>
                                    <tr>
                                        <td><h3><label id="oldPassA">Old Password: </label></td>
                                        <td><input type="password" name="oldPassA" class="reginp" id="regmail" size="30"></h3></td>
                                    </tr>
                                    <tr>
                                        <td><h3><label id="newPassA" >New Password: </label></td>
                                        <td><input type="password" name="newPassA" class="reginp" id="regname" size="30" /></h3></td>
                                    </tr>
                                    <tr>
                                        <td><h3><label id="newPassConfA" >Confirm New Password: </label></td>
                                        <td><input type="password" name="newPassConfA" class="reginp" id="reglname" size="30" /></h3></td>
                                    </tr>
                                    <tr>
                                        <td colspan="2" style="text-align: center;"><h4><input type="image" src="../ok.jpg" id="register" alt="gumb"/></h4></td>
                                    </tr>
                                </table>
                            </form>
                    </div>	                    
                </div>

		
		<?php
                    footer();
                ?>
	</div>
    
        <?php 
            changePasswordA();
        ?>
</body>
</html>
